package com.demo.db.mybatis.db2.service

import com.demo.db.mybatis.db2.mapper.MyBatisDB2Mapper
import com.demo.db.mybatis.db2.model.MyBatisDB2Model
import org.springframework.stereotype.Service

@Service
class MyBatisDB2Service(val myBatisDB2Mapper: MyBatisDB2Mapper) {
    fun find(id: String): List<MyBatisDB2Model> {
        return myBatisDB2Mapper.find(id)
    }
}
